<?php

class CarDetails extends BaseModel {
    public static $_table = 'AppCarDetails';
    public static $_id_column = 'vin';

    public static $fields = array('vin', 'noOfKm', 'dateService', 'kmToService', 'kmPrLtr', 'oilStatus', 'fuelStatus', 'lightStatus', 'doorsStatus', 'fuelUsedTrip');
    public static $modifiableFields = array('noOfKm', 'dateService', 'kmToService', 'kmPrLtr', 'oilStatus', 'fuelStatus', 'lightStatus', 'doorsStatus', 'fuelUsedTrip');
    
    public static function orm() {
        return self::factory(__CLASS__);
    }

}
